﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace PushConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            using (var host = new WebServiceHost(typeof(PushService)))
            {
                host.Open();
                Console.WriteLine("服务已启动");
                while (true)
                {
                    Console.ReadLine();
                }
            }
        }
    }
}
